package com.bean;

import java.io.Serializable;

/**
 * 定义消息类接收消息内容和设置消息的下标
 * @author:chenhs E-mail:hson08_chen@163.com
 * Created on 2017年4月24日 下午2:58:14
 */
public class Message implements Serializable {

	private static final long serialVersionUID = 4222186074330634242L;
	private int id;
    private String content;
    
    public Message(int id, String content) {
		this.id = id;
		this.content = content;
	}
    
	public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
	
}
